package com.ruoyi.mapper.jpjs.bi_durationeffect;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DurationEffectMapper {

    List<Map<String, Object>> selectDurationEffectList(Map<String, Object> map);

    Map<String, Object> selectDurationEffect(String id);

    int addDurationEffect(Map<String, Object> map);

    int editDurationEffect(Map<String, Object> map);

    int deleteDurationEffect(String id);

    Map<String, Object> selectDurationEffectDown(@Param("companyId") String companyId, @Param("proId") String proId);

    String getMaxZeroEndTime(@Param("companyId") String companyId, @Param("proId") String proId);

    int addDurationEffectDown(Map<String, Object> map);

    int editDurationEffectDown(Map<String, Object> map);

}


